package com.hdax.dm.mapstrucs;

import com.hdax.dm.dto.DescItemDto;
import com.hdax.dm.entity.item.DmItem;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public abstract class DescItemDtoMapper {

    public abstract DescItemDto toTarget(DmItem item);

    public abstract List<DescItemDto> toTargets(List<DmItem> item);
}
